package plugins

import (
	"context"
	"data-transfer/domain"
)

type InfoServiceStore interface {
	//InsertArticleAnnouncements 插入关联的公告信息到InfoService的Article表
	InsertArticleAnnouncements(ctx context.Context, t TargetStore) (int64, error)
	//InsertArticleNews 插入关联的资讯信息到InfoService的Article表
	InsertArticleNews(ctx context.Context, t TargetStore) (int64, error)
	//InsertArticlesSingle 数据监控插入关联的资讯、公告信息到InfoService的Article表
	InsertArticlesSingle(articles *domain.Articles) (int64, error)
}
